﻿
using QuantoSharp.Electron;

namespace QuantoSharp.Core.CashFlows
{
    public class SimpleCashflow:Cashflow
    {

        private readonly double _amount;
        private readonly Date _date;

        public SimpleCashflow(double amount, Date date)
        {
            _amount = amount;
            _date = date;
        }

        public override double Amount
        {
            get { return _amount; }
        }

        public override Date Date
        {
            get { return _date; }
        }
    }
}
